package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤信息管理对象 g_attendance
 * 
 * @author nb
 * @date 2024-05-09
 */
public class GAttendance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考勤编号 */
    private Integer aid;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Integer userid;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String username;

    /** 员工部门 */
    @Excel(name = "员工部门")
    private String department;

    /** 岗位 */
    @Excel(name = "岗位")
    private String deptdetailid;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 考勤情况 */
    @Excel(name = "考勤情况")
    private String attendance;

    /** 考勤信息更新时间 */
    @Excel(name = "考勤信息更新时间")
    private String time;

    public void setAid(Integer aid) 
    {
        this.aid = aid;
    }

    public Integer getAid() 
    {
        return aid;
    }
    public void setUserid(Integer userid) 
    {
        this.userid = userid;
    }

    public Integer getUserid() 
    {
        return userid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setDeptdetailid(String deptdetailid) 
    {
        this.deptdetailid = deptdetailid;
    }

    public String getDeptdetailid() 
    {
        return deptdetailid;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAttendance(String attendance) 
    {
        this.attendance = attendance;
    }

    public String getAttendance() 
    {
        return attendance;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aid", getAid())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("department", getDepartment())
            .append("deptdetailid", getDeptdetailid())
            .append("phone", getPhone())
            .append("attendance", getAttendance())
            .append("time", getTime())
            .toString();
    }
}
